﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GPS_Simulator
{
    public partial class Error : Form
    {
        Form1 mainform;
        public Error(Form1 form)
        {
            InitializeComponent();
            mainform = form;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void Error_Load(object sender, EventArgs e)
        {
            textBox1.Text = mainform.error_str;
            textBox2.Text = mainform.recommant_str;
        }
    }
}
